package com.example.bicycle.domain.vo;

import com.example.bicycle.domain.entity.Battery;
import com.example.bicycle.domain.entity.ElectricBike;
import com.example.bicycle.domain.entity.RideRecord;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BikeLocationVo {
    private ElectricBike bike;

    private Float distance;

    private Battery battery;

    private RideRecord rideRecord;
    public BikeLocationVo(ElectricBike electricBike) {
        this.bike = electricBike;
    }
}
